


	//基础地址获取
	const baseUrl = uni.getStorageSync('baseUrl')
	
	const userURL = baseUrl + '/user';
	const orderURL = baseUrl + '/order';
	const prodcuctURL = baseUrl + '/product'; //商品类型
	const payURL = baseUrl + '/pay';

	//product
	export const getAllFundUrl = prodcuctURL + '/fund/all'; //获取所有基金
	export const getPositionUrl = prodcuctURL + '/fund/position'; //获取持仓
	export const getGraphUrl = prodcuctURL + '/fund/graph'; //获取折线图数据
	export const getFundDetailUrl = prodcuctURL + '/fund/detail'; //获取基金详情
	export const getFundCurrencyUrl = prodcuctURL + '/fund/currency'; //获取货币基金
	export const getFundExponentUrl = prodcuctURL + '/fund/exponent'; //获取指数基金
	export const getFundHotUrl = prodcuctURL + '/fund/hot'; //获取热门基金
	export const getGoldDetailUrl = prodcuctURL + '/gold/detail'; //获取黄金信息
	export const getGoldAllUrl = prodcuctURL + '/gold/all'; //获取所有黄金信息
	export const getWealthUrl = prodcuctURL + '/wealth'; //根据id获取理财产品
	export const getWealthAllUrl = prodcuctURL + '/wealth/all'; //条件获取产品信息
	export const getSearchUrl = prodcuctURL + '/fund/search'; //搜索
	export const getGoldGraphUrl = prodcuctURL + '/gold/graph'; //获取黄金折线图数据



	//user
	export const registerUrl = userURL + '/register'; //注册
	export const getVerifyUrl = userURL + '/verify'; //获取验证码
	export const getUserInfoUrl = userURL + '/'; //根据用户id查询用户信息
	export const accountLoginUrl = userURL + "/login" //登录
	export const realNameAuthUrl = userURL + "/certificated" //实名认证
	export const verifyAasswordUrl = userURL + "/verifypassword" //验证登录密码是否正确
	export const passwordChangeUrl = userURL + "/password" //修改密码
	export const noticeUrl = userURL + "/notice/get" //个人中心获取通知
	export const updateNoticeUrl = userURL + "/notice/update" //修改通知状态
	export const riskTestUrl = userURL + "/risk" //用户执行风险测评

	//pay
	export const verifyPayPasswordUrl = payURL + "/verifyPayPassword" //验证支付密码是否正确
	export const payPasswordChangeUrl = payURL + "/payPassword" //修改支付密码
	export const rechargeUrl = payURL + "/user/recharge" //充值
	export const getMUrl = payURL + "/user" //充值
	// export const getMUrl = payURL + "/payPassword" //充值


	//支付
	export const buyURL = payURL + '/buy'; //用户购买【基金或者黄金】时支付|用户购买【定期或者活期】时支付
	export const getPayTokenUrl = payURL + '/payToken'; //获取支付幂等性token
	// export const verifyPayPasswordURL = payURL+"/verifyPayPassword"



	// order
	export const findProductUrl = orderURL + '/findProduct'; //点击产品类型时，发送的请求，获取个人持有几只基金，多少黄金，定期、活期类产品个数
	export const sellProductUrl = orderURL + '/sellProduct'; //点击基金、黄金、活期的【卖出或者赎回按钮】时，发送的请求
	export const holdTypeUrl = orderURL + '/findUserAllHoldProductByType'; //不同理财产品的个人持有量
	export const orderBuyUrl = orderURL + '/userOrder/buy'; //查看用户买入的订单

	// 定投
	export const fixedInputUrl = orderURL + '/fixedInput/buy';




